package com.departmentstore.service;

import com.departmentstore.entity.Department;
import java.util.List;

public interface DepartmentService {
    // 创建新部门
    Department createDepartment(Department department);
    
    // 更新部门信息
    Department updateDepartment(Department department);
    
    // 删除部门
    void deleteDepartment(String departmentId);
    
    // 根据ID获取部门
    Department getDepartmentById(String departmentId);
    
    // 获取所有部门
    List<Department> getAllDepartments();
    
    // 根据名称查找部门
    Department getDepartmentByName(String name);
    
    // 根据经理ID查找部门
    Department getDepartmentByManagerId(String managerId);
} 